Make it easier to switch workspaces by also allowing swipes with 4 or more
fingers. This is consistent with how we behave for touchscreen swipes too.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3275>
if (event.get_gesture_phase() === Clutter.TouchpadGesturePhase.BEGIN)
this._state = TouchpadState.NONE;
- if (event.get_touchpad_gesture_finger_count() !== GESTURE_FINGER_COUNT)
+ if (event.get_touchpad_gesture_finger_count() < GESTURE_FINGER_COUNT)
return Clutter.EVENT_PROPAGATE;
if ((this._allowedModes & Main.actionMode) === 0)